#include"TcpConnection.hh"
#include"threadpool.hh"
#include"Tcpserver.hh"
#include<unistd.h>
#include<iostream>
#include<functional>

using std::cout;
using std::bind;

ThreadPool* ptr;
class MyTask
{
public:

    void process()
    {
        cout<<" test\n";
        _ptr->sendinpoll(_msg);
    }
private:
    string _msg;
    Tcpconptr _ptr;
};

